#
#
SHELL = /bin/bash
#FFLAG =  -s -static -O3 -fomit-frame-pointer -Wall -mpentiumpro -march=pentiumpro -malign-functions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedule-insns2 -mwide-multiply
FFLAG = -O3
FCOMP = gfortran -c ${FFLAG}
LINK  = gfortran 
LIBS  = -lsrfftw -lsfftw
OBJ   = hd.o
OBJI  = ic.o

.SUFFIXES: .o .f90

.f90.o:
	${FCOMP} $*.f90

hd:  ${OBJ}
	${LINK} ${OBJ} ${LIBS} -o hd

ic:  ${OBJI}
	${LINK} ${OBJI} ${LIBS} -o ic

